Pod::Spec.new do |s|

  s.name         = "CCQToolBox"
  s.version      = "1.1.0"
  s.summary      = "常用工具文件"
  s.homepage     = "https://gitee.com/chaoqun/CCQToolBox"
  s.license      = "MIT"
  s.author       = { "xiaoyao" => "920480979@qq.com" }
  s.platform = :ios, "11.0"
  s.source       = { :git => "git@gitee.com:chaoqun/CCQToolBox.git", :tag => "#{s.version}" }
  s.frameworks  = "UIKit","Foundation"
  s.requires_arc = true
  s.swift_version = '5.3'
#  s.source_files = "CCQToolBox/**/*.{h,m,swift}"
  
  s.subspec "Tools" do |sp|
    sp.source_files = "CCQToolBox/Tools/*.{h,m,swift}"
  end
  s.subspec "UI" do |sp|
    sp.source_files = "CCQToolBox/UI/*.{h,m,swift}"
    sp.dependency "CCQToolBox/Tools"
  end
  s.dependency "SnapKit"
  s.dependency "SwiftyJSON"
  s.dependency "MJRefresh"
  s.dependency "MBProgressHUD"
  s.dependency "Kingfisher"
  s.dependency "SwifterSwift"
end
